// 全局变量定义,消息常量定义

module.exports = {
    DB_CONFIG: 'dbConnectionConfig',
    // MESSAGE CHANNEL CONSTS
    GET_USER_BY_NAME: 'get-user-by-name',
    CLOSE_LAST_MODAL: 'close-modal',
    GET_SYSTEM_INFO: 'get-system-info',
    GET_DB_CONFIG: 'get-db-config',
    SHOW_ALERT: 'show-alert',
    DEFAULT_DB_CONFIG: {
        charset: 'utf8',
        host: '10.2.112.23',
        port: 3306,
        user: 'root',
        password: 'root',
        database: 'ncw_jiangsu',
        waitForConnections: true,
        connectionLimit: 10,
        queueLimit: 0
    },
}